﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace SmartBot
{
    /// <summary>
    /// Contain all enums for the entire application
    /// </summary>
    public abstract class AllEnums: INotifyPropertyChanged
    {
        #region Event trigger to raise when any property has been changed
        public event PropertyChangedEventHandler PropertyChanged;

        /// <summary>
        /// Raise an event to notify the propertyName has been changed
        /// </summary>
        /// <param name="propertyName">Property Name to raise in the event</param>
        protected void OnPropertyChanged(string propertyName)
        {
            var handler = PropertyChanged;
            if (handler != null)
            {
                handler(this, new PropertyChangedEventArgs(propertyName));
            }
        }

        #endregion
        /// <summary>
        /// Trạng thái của injection
        /// </summary>
        public enum InjectionStatus { FoundProcess, Started, Injected, ThreadStarted, Ejected }
        public enum NPCStates { RUNNING, FIGHTING, WALKING, STALLING, MEDITATING, TRADING, MOUTING, IDLE }
        public enum NPCTypes { SELF, PLAYERS, NPC, MOBS }
        public enum Menpais { NOMENPAI, NGAMI, MINHGIAO }
        /// <summary>
        /// Làm gì "sau khi chết" - tab cơ bản
        /// </summary>
        public enum AfterDeathSettings { 
            /// <summary>
            /// Thoát game
            /// </summary>
            ExitGame, 
            /// <summary>
            /// Quay lại điểm train
            /// </summary>
            BackToTraingSpot, 
            /// <summary>
            /// Uống trà với Mạnh Bà
            /// </summary>
            HappyTea 
        }

        /// <summary>
        /// Các chế độ của AI
        /// </summary>
        public enum AIModes { 
            /// <summary>
            /// Đánh quanh điểm
            /// </summary>
            DANHQUANHDIEM, 
            /// <summary>
            /// Đánh tự do
            /// </summary>
            DANHTUDO, 
            /// <summary>
            /// Hỗ trợ
            /// </summary>
            HOTRO, 
            /// <summary>
            /// Khai khoáng + Hái dược
            /// </summary>
            KHAIKHOANG_HAIDUOC, 
            /// <summary>
            /// Trồng trọt
            /// </summary>
            TRONGTROT, 
            /// <summary>
            /// Thương nhân
            /// </summary>
            THUONGNHAN 
        }


    }
}
